package org.NooLab.glue.instances;

import java.io.Serializable;

import org.NooLab.glue.components.pkg.TaskPackage;




public class DeliveryObject  implements Serializable{
 
	transient private static final long serialVersionUID = -2288899077577157277L;

	
	String deliveryReceipt=""; 
	long transactionID = 0;
	
	boolean isWaiting=false;
	
	TaskPackage dpackage;
	
	int sendCounter=0;
	long lastEventTime=System.currentTimeMillis() ;

	private boolean sendingProcessRunning=false;
	 
	
	public DeliveryObject(){
		
	}

	
	
	public void incrementSendCounter(){
		sendCounter++;
	}
	
	public String getDeliveryReceipt() {
		return deliveryReceipt;
	}

	public void setDeliveryReceipt(String deliveryReceipt) {
		this.deliveryReceipt = deliveryReceipt;
	}

	public long getTransactionID() {
		return transactionID;
	}

	public void setTransactionID(long transactionID) {
		this.transactionID = transactionID;
	}

	public TaskPackage getDpackage() {
		return dpackage;
	}

	public void setDpackage(TaskPackage dpackage) {
		this.dpackage = dpackage;
	}



	public long getLastEventTime() {
		 
		return lastEventTime;
	}



	public void setLastEventTime(long lastEventTime) {
		this.lastEventTime = lastEventTime;
	}



	public int getSendCounter() {
		return sendCounter;
	}



	public void setSendCounter(int sendCounter) {
		this.sendCounter = sendCounter;
	}



	public boolean isSendingProcessRunning() {
		return sendingProcessRunning;
	}



	public void setSendingProcessRunning(boolean sendingProcessRunning) {
		this.sendingProcessRunning = sendingProcessRunning;
	}



 
	
	
}
